﻿Public Class AçıkAkreditifler

    Private Sub AkreditifDetayBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AkreditifDetayBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.AkreditifDetayBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.AçıkAkreditifDataSet)

    End Sub

    Private Sub AçıkAkreditifler_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'AkrTurLookUpDataSet.AkrTurleri' table. You can move, or remove it, as needed.
        Me.AkrTurleriTableAdapter.Fill(Me.AkrTurLookUpDataSet.AkrTurleri)
        'TODO: This line of code loads data into the 'BankaLookUpDataSet.Firmalar' table. You can move, or remove it, as needed.
        Me.FirmalarTableAdapter.FillBanka(Me.BankaLookUpDataSet.Firmalar)
        'TODO: This line of code loads data into the 'AçıkAkreditifDataSet.AkreditifDetay' table. You can move, or remove it, as needed.
        'Me.AkreditifDetayTableAdapter.Fill(Me.AçıkAkreditifDataSet.AkreditifDetay)

    End Sub


    Private Sub AkreditifDetayDataGridView_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles AkreditifDetayDataGridView.CellContentClick

    End Sub

    Private Sub TariheGöreGetirToolStripButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TariheGöreGetirToolStripButton1.Click
        Try
            Me.AkreditifDetayTableAdapter.TariheGöreGetir(Me.AçıkAkreditifDataSet.AkreditifDetay, TarihGirinizToolStripTextBox.Text)
        Catch ex As System.Exception
            System.Windows.Forms.MessageBox.Show(ex.Message)
        End Try

    End Sub
End Class